package com.hycreate.platform.modules.recheandrejec;

import java.util.Date;

import org.hibernate.validator.constraints.Length;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hycreate.platform.common.persistence.DataEntity;

/**
 * 复核驳回Entity
 * @author wang
 * @version 2017-11-29
 */
public class YhcgRecheckandrejec extends DataEntity<YhcgRecheckandrejec> {
	
	private static final long serialVersionUID = 1L;
	private Date reviewtime;		// 复查时间
	private String reviewuser;		// 复查人
	private String reviewproposal;		// 复查建议
	private String uid;		// 工单id
	private String status;		// 复核状态
	
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public YhcgRecheckandrejec() {
		super();
	}

	public YhcgRecheckandrejec(String id){
		super(id);
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getReviewtime() {
		return reviewtime;
	}

	public void setReviewtime(Date reviewtime) {
		this.reviewtime = reviewtime;
	}
	
	@Length(min=0, max=255, message="复查人长度必须介于 0 和 255 之间")
	public String getReviewuser() {
		return reviewuser;
	}

	public void setReviewuser(String reviewuser) {
		this.reviewuser = reviewuser;
	}
	
	public String getReviewproposal() {
		return reviewproposal;
	}

	public void setReviewproposal(String reviewproposal) {
		this.reviewproposal = reviewproposal;
	}
	
	@Length(min=0, max=36, message="工单id长度必须介于 0 和 36 之间")
	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}
	
}